#ifndef MAINUI_H 
#define MAINUI_H 
#include "car.h"
#include "selectDlg.h"
#include "Setting.h"
#include "keyboard.h"
#include "NumKeyBoard.h"
#include "SensorMonitor.h"
#include "SpeedMonitor.h"
#include "PipeLine.h"
#include <qstring.h>
#include <qdialog.h>
#include <qobject.h>
class SnapCaculator;
class SensorNotify;
class Snap;
class SnapGenerator;
class Warnning;
class MainUi : public MainDialog 
{ 
	Q_OBJECT
public:
    MainUi( QWidget* parent = 0, const char* name = 0, WFlags fl = WStyle_Customize | WStyle_NoBorder );
    virtual ~MainUi();


	public slots:
		void state0Change(const QString& str);
		void state1Change(const QString& str);
		void state2Change(const QString& str);
protected:

private:

	SelectDialog* m_sldlg[3];
	SensorMonitor* m_sensorMonitor;
	PipeLine* m_pipeLine[3];
};

#endif 
